#include <GLFW/glfw3.h>
#include <GL/gl.h>

#include <iostream>

using namespace std;

int main()
{
    glfwInit();

    auto window = glfwCreateWindow(800, 600, "OpenGL Window", nullptr, nullptr);

    glfwMakeContextCurrent(window);

    while (!glfwWindowShouldClose(window))
    {
        glClearColor(0.f, 0.f, 0.f, 1.f);
        glClear(GL_COLOR_BUFFER_BIT);

        glfwSwapBuffers(window);
        glfwPollEvents();
    }
    
    glfwDestroyWindow(window);

    return 0;
}